package com.erji.admin.service.impl;

import com.erji.admin.domain.entity.AppletUserLoginLogPO;
import com.erji.admin.mapper.AppletUserLoginLogMapper;
import com.erji.admin.service.AppletUserLoginLogService;
import com.erji.common.mybatis.persistence.SuperServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author lingjian
 * @description: TODO
 * @date 2024/1/2
 */
@Service
public class AppletUserLoginLogServiceImpl extends SuperServiceImpl<AppletUserLoginLogMapper, AppletUserLoginLogPO> implements AppletUserLoginLogService {

    /**
     * 创建会员登录日志
     *
     * @param memberLoginLogPO
     * @return
     */
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AppletUserLoginLogPO create(AppletUserLoginLogPO memberLoginLogPO) {
        return save(memberLoginLogPO);
    }
}
